nw::lyt::ResourceAccessor::GetTexture Member Functionvirtual const TextureInfo GetTexture( const char * name ) = 0;
| Name | Description | |
|---|---|---|
| name | The name of the texture resource. |
TextureInfo::INVALID is set for the texture object if the texture cannot be loaded. Gets the texture information.
Gets the texture information bound to the texture object specified by name.
This function attempts loading the texture if it is not owned.
You can use LoadTexture() in the implementation.
CONFIDENTIAL