Loading...
Searching...
No Matches
dynamicCubemapTextureImplementation.h
1//
2// Copyright 2025 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef PXR_IMAGING_HD_ST_DYNAMIC_CUBEMAP_TEXTURE_IMPLEMENTATION_H
8#define PXR_IMAGING_HD_ST_DYNAMIC_CUBEMAP_TEXTURE_IMPLEMENTATION_H
9
10#include "pxr/pxr.h"
11
12PXR_NAMESPACE_OPEN_SCOPE
13
14class HdStDynamicCubemapTextureObject;
15
22{
23public:
29 virtual void Load(HdStDynamicCubemapTextureObject* textureObject) = 0;
30
33 virtual void Commit(HdStDynamicCubemapTextureObject* textureObject) = 0;
34
37 virtual bool IsValid(
38 const HdStDynamicCubemapTextureObject* textureObject) = 0;
39};
40
41PXR_NAMESPACE_CLOSE_SCOPE
42
43#endif
Allows external clients to specify how a cubemap texture is loaded from, e.g., a file and how it is c...
virtual bool IsValid(const HdStDynamicCubemapTextureObject *textureObject)=0
Queried by, e.g., the material system to determine whether to use, e.g., the fallback value of a text...
virtual void Commit(HdStDynamicCubemapTextureObject *textureObject)=0
Called during the commit phase of the Storm texture system when the CPU texture is committed to the G...
virtual void Load(HdStDynamicCubemapTextureObject *textureObject)=0
Called during the load phase of the Storm texture system when a texture file is supposed to be loaded...