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: scripting
Project: Inno.Rendering
Scope: Runtime
Declaration
Section titled “Declaration”public int InnoEngine.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.