ITextureCube
Description
- Derived from
- Extended by
-
TextureCube abstract
Base interface for cubemap texture resources for rendering.
The following table shows the orientation of the cubemap faces:
Face | U | V | -----+----+----+ NegX | +z | -y | PosX | -z | -y | NegY | +x | -z | PosY | +x | +z | NegZ | -x | -y | PosZ | +x | -y |
The U
and V
columns depict the direction of the U- and V-axis of the respective cubemap face texture (see ITexture2D), in 3D texture coordinate space.
Public / Methods
SetTexels
Updates a rectangular region of this texture with GpuUpdateFlag.Discard semantic.
The given target coordinates must be a multiple of the block size of the texture format (see TextureFormat.BlockSize).
Extensions
SetTexels
Copies a region of pixels from the given buffer to this texture data object, encoding them as necessary.
This method encodes the pixels and then sets the texel data by calling ITextureCube.SetTexels.