Synced
RenderTextureDescriptor.GetSubresourceLayerCount
Section titled “RenderTextureDescriptor.GetSubresourceLayerCount”
- Gets the number of independently addressable layers or slices at one mip level.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering
Declaration
Section titled “Declaration”public int Inno.Rendering.RenderTextureDescriptor.GetSubresourceLayerCount(int mipLevel)Parameters
Section titled “Parameters”Parameter mipLevel: Zero-based mip level.
Returns
Section titled “Returns”The array-layer count for 2D textures, six faces per cubemap layer, or the mip depth for 3D textures.