Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/carbonengine/trinity
/ SetType
Method
SetType
trinityal/tests/TextureSubresource.cpp:15–19 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
13
{
14
}
15
void SetType( TextureType type )
16
{
17
m_type = type;
18
m_arraySize = type == TEX_TYPE_CUBE ? 6 : 1;
19
}
20
void SetFormat( PixelFormat format )
21
{
22
m_format = format;
Callers
1
TEST
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected