Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TankOs/SFGUI
/ AddTexture
Method
AddTexture
src/SFGUI/Primitive.cpp:56–58 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
54
}
55
56
void Primitive::AddTexture( PrimitiveTexture::Ptr texture ) {
57
m_textures.push_back( texture );
58
}
59
60
void Primitive::SetPosition( const sf::Vector2f& position ) {
61
m_position = position;
Callers
1
CreateSprite
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected