class RasterViewAllocator
Allocator used for the creation of RasterView
instances.
File location: framework/cauldron/framework/inc/render/rasterview.h
Methods
Return type |
Description |
---|---|
const RasterView * |
RequestRasterView ( const Texture * pTex, ViewDimension dimension, int32_t mip = -1, int32_t arraySize = -1, int32_t firstArraySlice = -1 )
Returns a new “RasterView“ instance mapped to the specified parameters. Defaults to whole resource view.
|
void |
Callback invoked when a resize event occurs. Rebinds resized resources to their resource views.
|
Detailed description
Allocator used for the creation of RasterView
instances.
Methods
RequestRasterView
const RasterView * RequestRasterView (
const Texture * pTex,
ViewDimension dimension,
int32_t mip = -1,
int32_t arraySize = -1,
int32_t firstArraySlice = -1
)
Returns a new RasterView
instance mapped to the specified parameters. Defaults to whole resource view.
OnResourceResized
Callback invoked when a resize event occurs. Rebinds resized resources to their resource views.