Function Texture.access

Wraps SDL_QueryTexture which gets the dsdl2.TextureAccess of the dsdl2.Texture

TextureAccess access() @property @trusted const;

Returns

dsdl2.TextureAccess of the dsdl2.Texture

Throws

dsdl2.SDLException if failed to query the information