Skip to main content

texture_resource_count

Function texture_resource_count 

Source
pub fn texture_resource_count() -> Result<usize, CnResult>
Expand description

Number of Texture resource records in the primary blob’s metadata, read without loading any payload. This is the compiled world’s texture-table length; cn export uses it to precompile the built-in shaders whose bindless texture pool is sized per world.